package com.eorchis.module.usermessagemanage.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.eorchis.utils.utils.PropertyUtil;

public class UserMessageManageBean {
	
	
	private Integer loginId;//学员账号
	
	private Date birthDay;//出生日期
	private String birthDayStr;
	private Integer updateState;//修改状态

	private Integer availabilityState; //报名状态

	private Integer depUserID;//单位用户id
 
	private Integer userID;//用户id
 
	private String userName;//用户姓名

	 
	private String sexName;//性别

	 
	private String unit;

	 
	private Integer activeState;
 
	private Integer examState;
 
	private Integer zuGong;
 
	private Integer chiselState;

	 
	private String duty;//职务

	 
	private String dutyLevel;//职级

	 
	private Integer hierarchy;
	
	private String oldDeptName;
	
	private Date lastOperateTime;
	private String lastOperteTimeStr; 
	
	private String paperNum;
	 
	private String folkName;
	 
	private String degreeName;
	 
	private String pocliName;
	 
	private Integer bureauReserve;
	
	//部门路径modify by HuangS at 2011-10-20
	private String deptPath;//所属单位
	
	//部门树路径modify by HuangS at 2011-10-20
	private String treepath;

	/**
	 * 显示用户身份时使用 by RongLT at 2013-03-18
	 */
	private String statusCodes;//身份信息的字符串,如果是多个身份以","分隔
	
	/**
	 * 显示用户是否是市管干部 by RongLT at 2013-03-22
	 */
	private Integer shiGuan;
	
	
	private Date heldOfficeDate;//最后提任处级时间
	private String heldOfficeDateStr;//最后提任处级时间
	
	

	public Integer getLoginId() {
		return loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public Date getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(Date birthDay) {
		this.birthDay = birthDay;
	}
	public String getBirthDayStr() {
		if (PropertyUtil.objectNotEmpty(this.getBirthDay())) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(this.getBirthDay());
		}else {
			return "";
		}
	}

	public void setBirthDayStr(String birthDayStr) {
		this.birthDayStr = birthDayStr;
	}

	public Integer getUpdateState() {
		return updateState;
	}

	public void setUpdateState(Integer updateState) {
		this.updateState = updateState;
	}

	public Integer getAvailabilityState() {
		return availabilityState;
	}

	public void setAvailabilityState(Integer availabilityState) {
		this.availabilityState = availabilityState;
	}

	public Integer getDepUserID() {
		return depUserID;
	}

	public void setDepUserID(Integer depUserID) {
		this.depUserID = depUserID;
	}

	public Integer getUserID() {
		return userID;
	}

	public void setUserID(Integer userID) {
		this.userID = userID;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getSexName() {
		return sexName;
	}

	public void setSexName(String sexName) {
		this.sexName = sexName;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getActiveState() {
		return activeState;
	}

	public void setActiveState(Integer activeState) {
		this.activeState = activeState;
	}

	public Integer getExamState() {
		return examState;
	}

	public void setExamState(Integer examState) {
		this.examState = examState;
	}

	public Integer getZuGong() {
		return zuGong;
	}

	public void setZuGong(Integer zuGong) {
		this.zuGong = zuGong;
	}

	public Integer getChiselState() {
		return chiselState;
	}

	public void setChiselState(Integer chiselState) {
		this.chiselState = chiselState;
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public String getDutyLevel() {
		return dutyLevel;
	}

	public void setDutyLevel(String dutyLevel) {
		this.dutyLevel = dutyLevel;
	}

	public Integer getHierarchy() {
		return hierarchy;
	}

	public void setHierarchy(Integer hierarchy) {
		this.hierarchy = hierarchy;
	}

	public String getOldDeptName() {
		return oldDeptName;
	}

	public void setOldDeptName(String oldDeptName) {
		this.oldDeptName = oldDeptName;
	}

	public Date getLastOperateTime() {
		return lastOperateTime;
	}

	public void setLastOperateTime(Date lastOperateTime) {
		this.lastOperateTime = lastOperateTime;
	}

	public String getLastOperteTimeStr() {
		if (PropertyUtil.objectNotEmpty(this.getLastOperateTime())) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			lastOperteTimeStr = sdf.format(this.getLastOperateTime());
		} else {
			lastOperteTimeStr = "";
		}
		return lastOperteTimeStr;
	}

	public void setLastOperteTimeStr(String lastOperteTimeStr) {
		this.lastOperteTimeStr = lastOperteTimeStr;
	}

	public String getPaperNum() {
		return paperNum;
	}

	public void setPaperNum(String paperNum) {
		this.paperNum = paperNum;
	}

	public String getFolkName() {
		return folkName;
	}

	public void setFolkName(String folkName) {
		this.folkName = folkName;
	}

	public String getDegreeName() {
		return degreeName;
	}

	public void setDegreeName(String degreeName) {
		this.degreeName = degreeName;
	}

	public String getPocliName() {
		return pocliName;
	}

	public void setPocliName(String pocliName) {
		this.pocliName = pocliName;
	}

	public Integer getBureauReserve() {
		return bureauReserve;
	}

	public void setBureauReserve(Integer bureauReserve) {
		this.bureauReserve = bureauReserve;
	}

	public String getDeptPath() {
		return deptPath;
	}

	public void setDeptPath(String deptPath) {
		this.deptPath = deptPath;
	}

	public String getTreepath() {
		return treepath;
	}

	public void setTreepath(String treepath) {
		this.treepath = treepath;
	}

	public String getStatusCodes() {
		return statusCodes;
	}

	public void setStatusCodes(String statusCodes) {
		this.statusCodes = statusCodes;
	}

	public Integer getShiGuan() {
		return shiGuan;
	}

	public void setShiGuan(Integer shiGuan) {
		this.shiGuan = shiGuan;
	}

	public Date getHeldOfficeDate() {
		return heldOfficeDate;
	}

	public void setHeldOfficeDate(Date heldOfficeDate) {
		this.heldOfficeDate = heldOfficeDate;
	}

	public String getHeldOfficeDateStr() {
		if (PropertyUtil.objectNotEmpty(this.getHeldOfficeDate())) {
			SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
			return sdf.format(this.getHeldOfficeDate());
		} else {
			return "";
		}
		
	}

	public void setHeldOfficeDateStr(String heldOfficeDateStr) {
		this.heldOfficeDateStr = heldOfficeDateStr;
	}
	
	
	
}
